DX11 BUILD REFLECTION MATRIX

Builds a reflection transform matrix, intended to reflect vectors through the given plane.

  Syntax
Return Dword = DX11 BUILD REFLECTION MATRIX(planeVector4, [resultMatrix])
  Parameters
planeVector4
Dword
A vector4 that holds the edge points of the plane to reflect through.
[Optional] resultMatrix
Dword
The matrix to write the created transform matrix to. Can be omitted, in which case a temporary matrix holding the generated transform matrix will be returned.

  Returns

The resultMatrix, if one was provided, or a newly created temporary matrix holding the resulting matrix otherwise.

  See also

MATH Functions Menu
DX11 Function Categories